package com.xdb.sqlparser.dialect.oracle.ast.statement;

import com.xdb.sqlparser.ast.SQLName;
import com.xdb.sqlparser.ast.statement.SQLConstraint;
import com.xdb.sqlparser.ast.statement.SQLTableElement;
import com.xdb.sqlparser.dialect.oracle.ast.OracleSQLObject;

public interface OracleConstraint extends OracleSQLObject, SQLConstraint, SQLTableElement {

	SQLName getExceptionsInto();

	void setExceptionsInto(SQLName exceptionsInto);

	Boolean getDeferrable();

	void setDeferrable(Boolean enable);

	Boolean getEnable();

	void setEnable(Boolean enable);

	Initially getInitially();

	void setInitially(Initially value);

	OracleUsingIndexClause getUsing();

	void setUsing(OracleUsingIndexClause using);

	public static enum Initially {
		DEFERRED, IMMEDIATE
	}
}
